]> dgit.raspbian.org Git - gnome-shell.git/commit
aggregateMenu: Include action buttons in width computation again
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 20 Mar 2019 12:48:21 +0000 (12:48 +0000)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 21 Mar 2019 10:08:29 +0000 (10:08 +0000)
commit0089143d0628e681b9ccd24753efef28d9d7811e
tree3eeff426ea32e4d455bfda6ac13fd020ae98c9eb
parent05e55cee23d65206f3c3f2d12f4a4d659061651f
aggregateMenu: Include action buttons in width computation again

Commit 1b169655ac removed the system indicator from the list of children
that are considered for the overall menu width, because we do want the
log-out submenu to adapt to the available width.

However as a side effect, action buttons no longer contribute to the
width either, so if extensions add additional buttons, the menu is
likely to overflow.

Avoid this by only adding the button group to the list of size children.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1094
js/ui/panel.js
js/ui/status/system.js